package com.lms.dao.apply;

import com.lms.bean.UserApply;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;

public interface ApplyDao {
    List<UserApply> getUserApplyList(Connection connection,String userCode) throws SQLException;
    int apply(Connection connection, String userCode, String labCode, String applyCount, String reason, String week, String interval) throws SQLException;
    int cancelApply(Connection connection,String applyID) throws SQLException;
    int getApplyCount(Connection connection) throws SQLException;
    int getCheckCount(Connection connection,String userCode) throws SQLException;
    boolean check(Connection connection,String userCode) throws SQLException;
    Map getApplyMsg(Connection connection, String applyID)throws SQLException;
}
